package com.GPT.service;


import com.GPT.common.Result;
import com.GPT.domain.Newuser;
import com.GPT.domain.UserVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends IService<Newuser> {
    Result login(Newuser newuser);

    Result saveRegister(UserVo userVo);
    Result validateInviteCode(HttpServletRequest request,String code);
}
